package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单取消原因对象 service_cancelorderreason
 * 
 * @author ZDL
 * @date 2024-12-25
 */
public class ServiceCancelorderreason extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单取消原因ID */
    private Long cancelorderreasonId;

    /** 订单取消原因 */
    @Excel(name = "订单取消原因")
    private String cancelorderreasonName;

    /** 创建者 */
    @Excel(name = "创建者")
    private String cancelorderreasonCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cancelorderreasonCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String cancelorderreasonUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cancelorderreasonUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String cancelorderreasonUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String cancelorderreasonDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String cancelorderreasonRemark;

    public void setCancelorderreasonId(Long cancelorderreasonId) 
    {
        this.cancelorderreasonId = cancelorderreasonId;
    }

    public Long getCancelorderreasonId() 
    {
        return cancelorderreasonId;
    }
    public void setCancelorderreasonName(String cancelorderreasonName) 
    {
        this.cancelorderreasonName = cancelorderreasonName;
    }

    public String getCancelorderreasonName() 
    {
        return cancelorderreasonName;
    }
    public void setCancelorderreasonCreateBy(String cancelorderreasonCreateBy) 
    {
        this.cancelorderreasonCreateBy = cancelorderreasonCreateBy;
    }

    public String getCancelorderreasonCreateBy() 
    {
        return cancelorderreasonCreateBy;
    }
    public void setCancelorderreasonCreateTime(Date cancelorderreasonCreateTime) 
    {
        this.cancelorderreasonCreateTime = cancelorderreasonCreateTime;
    }

    public Date getCancelorderreasonCreateTime() 
    {
        return cancelorderreasonCreateTime;
    }
    public void setCancelorderreasonUpdateBy(String cancelorderreasonUpdateBy) 
    {
        this.cancelorderreasonUpdateBy = cancelorderreasonUpdateBy;
    }

    public String getCancelorderreasonUpdateBy() 
    {
        return cancelorderreasonUpdateBy;
    }
    public void setCancelorderreasonUpdateTime(Date cancelorderreasonUpdateTime) 
    {
        this.cancelorderreasonUpdateTime = cancelorderreasonUpdateTime;
    }

    public Date getCancelorderreasonUpdateTime() 
    {
        return cancelorderreasonUpdateTime;
    }
    public void setCancelorderreasonUseFlag(String cancelorderreasonUseFlag) 
    {
        this.cancelorderreasonUseFlag = cancelorderreasonUseFlag;
    }

    public String getCancelorderreasonUseFlag() 
    {
        return cancelorderreasonUseFlag;
    }
    public void setCancelorderreasonDelFlag(String cancelorderreasonDelFlag) 
    {
        this.cancelorderreasonDelFlag = cancelorderreasonDelFlag;
    }

    public String getCancelorderreasonDelFlag() 
    {
        return cancelorderreasonDelFlag;
    }
    public void setCancelorderreasonRemark(String cancelorderreasonRemark) 
    {
        this.cancelorderreasonRemark = cancelorderreasonRemark;
    }

    public String getCancelorderreasonRemark() 
    {
        return cancelorderreasonRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cancelorderreasonId", getCancelorderreasonId())
            .append("cancelorderreasonName", getCancelorderreasonName())
            .append("cancelorderreasonCreateBy", getCancelorderreasonCreateBy())
            .append("cancelorderreasonCreateTime", getCancelorderreasonCreateTime())
            .append("cancelorderreasonUpdateBy", getCancelorderreasonUpdateBy())
            .append("cancelorderreasonUpdateTime", getCancelorderreasonUpdateTime())
            .append("cancelorderreasonUseFlag", getCancelorderreasonUseFlag())
            .append("cancelorderreasonDelFlag", getCancelorderreasonDelFlag())
            .append("cancelorderreasonRemark", getCancelorderreasonRemark())
            .toString();
    }
}
